package com.erp.freight.domain.bo;

import com.ruoyi.common.core.web.oldDomain.BaseEntity;
import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 物流信息对照业务对象 erp_logistics_product_info
 *
 * @author erp
 * @date 2023-04-20
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class ErpLogisticsProductInfoBo extends BaseEntity {

    /**
     *
     */
    @NotNull(message = "不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 物流名称
     */
    @NotBlank(message = "物流名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String logisticsProductName;

    /**
     * 物流代码
     */
    @NotBlank(message = "物流代码不能为空", groups = { AddGroup.class, EditGroup.class })
    private String logisticsProductCode;


}
